import request from "../request.js";
/**
 * 登录
 * @param {Object} data
 */
function doLogin(data) {
	return request({
		url: "/lejuClient/login/doLogin",
		method: 'POST',
		data,
	});
}

/**
 * 获取用户信息
 */
function getMemberInfo() {
	return request({
		url: "/lejuClient/login/getMemberInfo",
	});
}

export {
	doLogin,
	getMemberInfo
}
